export default class User {
    id: number;
    name: string;
    onlineState: boolean;
    mobile: string;
    nickName: string;
    avatar: string;


    constructor(id: number, name: string, onlineState: boolean, mobile: string, nickName: string, avatar: string) {
        this.id = id;
        this.name = name;
        this.onlineState = onlineState;
        this.mobile = mobile;
        this.nickName = nickName;
        this.avatar = avatar;
    }
}